﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDp_Proj_RecomBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDp_Proj_Recom;

        void Remove(IDp_Proj_Recom entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDp_Proj_Recom;

        /// <summary>
        /// 更新综合评定系数
        /// </summary>
        /// <param name="rdwayid"></param>
        void SetJUDGE_COEF(string anniname, string analy_year);

        /// <summary>
        /// 更新终选措施 设置为1
        /// </summary>
        /// <param name="rdwayid"></param>
        /// <param name="values"></param>
        void SetPREVEN_MEASURE(string anniname, string analy_year, int values);

        /// <summary>
        /// 计算综合评判系数（权重和分值相乘）
        /// </summary>
        /// <param name="rdclass"></param>
        /// <param name="colums"></param>
        /// <returns></returns>
        double GetJUDGE_COEF(int rdclass, string colums);

       
    }
}
